<template>
    <div ref="MainEditor" />
</template>

<script>
import Editor from 'wangeditor';
export default {
    name: "RichTextEditor",
    data() {
        return {
            editor: null
        }
    },
    mounted() {
        this.editor = new Editor(this.$refs.MainEditor);
        this.editor.config.height = 550;
        this.editor.create();
    }
}
</script>

<style scoped>

</style>
